package ${package} ;

import java.util.List;

import org.springframework.dao.DataAccessException;
import ${domain};

/**
 * 
 * @author ${author}
 * @version ${version}
 *
 */

public interface ${className}Dao {

	public Long add${className}(${className} <@lowerFirstChar>${className}</@lowerFirstChar>) throws DataAccessException ;
	
	public void del${className}(${className} <@lowerFirstChar>${className}</@lowerFirstChar>) throws DataAccessException ;
	
	public void update${className}(${className} <@lowerFirstChar>${className}</@lowerFirstChar>) throws DataAccessException ;
	
	public ${className} find${className}(${className} <@lowerFirstChar>${className}</@lowerFirstChar>) throws DataAccessException ;
	
	public List<${className}> list${className}(${className} <@lowerFirstChar>${className}</@lowerFirstChar>) throws DataAccessException ;
	
	public Integer list${className}Count(${className} <@lowerFirstChar>${className}</@lowerFirstChar>) throws DataAccessException ;

} 
